{//该文件由grunt debug生成，不要手动修改!!%>}
<if condition="APP_DEBUG">
    <script type="text/javascript" src="__STATIC__/vendor/require.js"></script>
    <script type="text/javascript" src="__STATIC__/vendor/underscore.js"></script>
    <script type="text/javascript" src="__STATIC__/vendor/underscore.mixin.js"></script>
    <script type="text/javascript" src="__STATIC__/debug/<%=_.get_group_name()%>/requireConfig.js"></script>
    <script type="text/javascript">
var app_entry=null;
<%_.each(rules,function(val,key){%>
if(_.in_array(_global.m,<%=JSON.stringify(val)%>)){
    app_entry="debug/<%=prefix+key%>";
}
<%});%>  
if(app_entry!=null){
    req([app_entry], function (App) {
        new App();
    });
}  
    </script>
<else/>
<%_.each(rules,function(val,key){%>
<if condition="in_array(MODULE_NAME,array(<%=_.str_replace(['[', ']', '"'], ['', '', '\''], _.json_encode(val))%>))">
    <script type="text/javascript" src="__STATIC__/build/<%=_.get_group_name()%>/<%=prefix+key%>.js"></script>
</if>
<%});%>    
</if>